import request from "@/utils/request";
import { parseStrEmpty } from "@/utils/ruoyi";

// 上游渠道（全局）采量资质评分新增、编辑
export function addOrEdit(data) {
  return request({
    url: "/config/pickFlair/v1.0.0/addOrEdit",
    method: "post",
    data: data,
  });
}

// 上游渠道（全局）采量资质评分查询
export function queryConfigFlair() {
  return request({
    url: "/config/pickFlair/v1.0.0/queryFlair",
    method: "get",
  });
}
